import NotFound from './views/404.vue'
import Home from './views/Home.vue'
import Main from './views/Main.vue'



let routes = [
    {
        path: '/mian',
        component: Main,
        name: '',
        hidden: true
    },
    {
        path: '/404',
        component: NotFound,
        name: '',
        hidden: true
    },
    {
        meta: {
            title: '三调数据云平台',
        },
        path: '/',
        component: Main,
        name: '三调数据云平台',
        hidden: true,
        children: [
            {
                meta: {
                    title: '二调和三调数据变化分析系统',
                },
                path: '/map',
                component: Main,
                name: '首页',
                iconCls: 'el-icon-message',
            }
        ]
    },
    {
        path: '*',
        hidden: true,
        redirect: { path: '/404' }
    }
];

export default routes;